Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor bias_variance_decomposition test. #1081

Merged

Conversation

fkdosilovic
Copy link
Contributor

@fkdosilovic fkdosilovic commented Jan 20, 2024

Description

Refactors two tests in evaluate/tests/test_bias_variance_decomp.py (change base_estimator to estimator). This fixes two failing unit tests.

Related issues or pull requests

None.

Pull Request Checklist

  • Added a note about the modification or contribution to the ./docs/sources/CHANGELOG.md file (if applicable)
  • Added appropriate unit test functions in the ./mlxtend/*/tests directories (if applicable)
  • Modify documentation in the corresponding Jupyter Notebook under mlxtend/docs/sources/ (if applicable)
  • Ran PYTHONPATH='.' pytest ./mlxtend -sv and make sure that all unit tests pass (for small modifications, it might be sufficient to only run the specific test file, e.g., PYTHONPATH='.' pytest ./mlxtend/classifier/tests/test_stacking_cv_classifier.py -sv)
  • Checked for style issues by running flake8 ./mlxtend

@rasbt
Copy link
Owner

rasbt commented Jan 21, 2024

Arg, good catch, thanks!

@rasbt
Copy link
Owner

rasbt commented Mar 28, 2024

Thanks a lot, I somehow missed this and will check it out!

Copy link

codecov bot commented Mar 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.32%. Comparing base (506a4d5) to head (2d61b28).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1081   +/-   ##
=======================================
  Coverage   78.32%   78.32%           
=======================================
  Files         196      196           
  Lines       11157    11157           
  Branches     1404     1404           
=======================================
  Hits         8739     8739           
  Misses       2200     2200           
  Partials      218      218           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@rasbt
Copy link
Owner

rasbt commented Mar 31, 2024

Thanks for updating this, I appreciate it!

@rasbt rasbt merged commit 31a9650 into rasbt:master Mar 31, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants